package DBLayer;

import java.util.ArrayList;

import ModelLayer.Building;

public interface IFDBBuilding {
	public ArrayList<Building> getAll();
	public Building getBuildingById(int buildingNr);
	public Building getBuildingByName(String name);
	
	public int insert(Building building);
	public int update(Building building);
	public int delete(int buildingNr);
	public ArrayList<Building> searchRandom(String searchF);
	public ArrayList<Building> getAll_where(String wClause);
}
